package com.zlm.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    // 我们拦截使用内置的jsp脚本就是自己去写就可以实现的

    @GetMapping("/hello")
    public String hello() {
        System.out.println("hello spring security");
        return "hello spring security";
    }

}
